﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace WpfApplication1
{
    /// <summary>
    /// Interaction logic for Window2.xaml
    /// </summary>
    public partial class Window2 : Window
    {
       int senhaDigitada;
        public Window2()
        {
            InitializeComponent();
        }

        private void button7_Click(object sender, RoutedEventArgs e)
        {
            textBox1.Text = textBox1.Text + "*";
            senhaDigitada = senhaDigitada + 7;
        }

        private void Window_Loaded(object sender, RoutedEventArgs e)
        {

        }

        private void button2_Click(object sender, RoutedEventArgs e)
        {
            textBox1.Text = textBox1.Text + "*";
            senhaDigitada = senhaDigitada + 2;
        }

        private void button10_Click(object sender, RoutedEventArgs e)
        {
            Close();
        }

        private void button2_Click_1(object sender, RoutedEventArgs e)
        {
            textBox1.Clear();
        }

        private void button0_Click(object sender, RoutedEventArgs e)
        {
            textBox1.Text = textBox1.Text + "*";
            senhaDigitada = senhaDigitada + 0;
        }

        private void button11_Click(object sender, RoutedEventArgs e)
        {
            textBox1.Text = textBox1.Text + "*";
            senhaDigitada = senhaDigitada + 1;
        }

        private void button3_Click(object sender, RoutedEventArgs e)
        {
            textBox1.Text = textBox1.Text + "*";
            senhaDigitada = senhaDigitada + 3;
        }

        private void button4_Click(object sender, RoutedEventArgs e)
        {
            textBox1.Text = textBox1.Text + "*";
            senhaDigitada = senhaDigitada + 4;
        }

        private void button5_Click(object sender, RoutedEventArgs e)
        {
            textBox1.Text = textBox1.Text + "*";
            senhaDigitada = senhaDigitada + 5;
        }

        private void button6_Click(object sender, RoutedEventArgs e)
        {
            textBox1.Text = textBox1.Text + "*";
            senhaDigitada = senhaDigitada + 6;
        }

        private void button8_Click(object sender, RoutedEventArgs e)
        {
            textBox1.Text = textBox1.Text + "*";
            senhaDigitada = senhaDigitada + 8;
        }

        private void button9_Click(object sender, RoutedEventArgs e)
        {
            textBox1.Text = textBox1.Text + "*";
            senhaDigitada = senhaDigitada + 9;
        }

        private void entrar_Click(object sender, RoutedEventArgs e)
        {

            //verificaSenha();
        }
    }
}
